Motion adaptive scan-rate conversion using directional edge interpolation

ABSTRACT

A method for processing video data to produce a progressively scanned signal from an input of conventional interlaced video. The data is received at a processor (1), used to determine a motion signal (26) over time between field of the data. The motion signal is filtered to reduce errors caused by noise-corrupted video sources and then further filtered to spread out the determined motion signal. Edge information (30) is located and combined with the motion signal to produce an integrated progressive-scan signal (36) for display on a video display device, producing images with sharper edges and motion signals which have a lower susceptibility to noise.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates to digital video systems, more particularly tothe display of motion video sequences on digital display systems.

2. Background of the Invention

As television moves from an analog system to a digital system, severalproblems arise. One such problem occurs in the depiction of movingobjects across the field of display.

When an object moves across the display in an analog system, the edges,or the object boundaries, remain true to life, with no real difficultiesin portraying curves, diagonals and other features of the objects inmotion. One example of an edge would be the curve of a red ball againsta blue background. However, in a pixelated display with individual cellsinstead of lines of continuous images, the edge integrity becomes harderto maintain.

An additional problem is that most conventional televisions use aninterlaced format, where the display device draws every other lineduring one interval, then draws the missing lines in the secondinterval. In a digital television using such techniques as progressivescan, where every line is "drawn" during the same interval, the missingdata from the second interval must be interpolated. Interpolation ofmoving objects creates artifacts, or visual images that have errors inthem.

Rounded edges on an object such as a ball present no real problems whenstationary. The curves smooth out through the use of prior field data ofthe stationary object. Without the use of prior field data, a curvewould have a jagged edge, looking much like a stair step or serratededge. When the object moves, however, previous field data can no longerbe used due to the lack of correlation between the present field and thepast field. Hence, line averaging techniques using the current field areoften employed for the interpolation process. Simple line averagingtechniques suffer from a lack of perceived resolution which is evidencedby blurring and serrated edges. These visual artifacts are due to aninterpolation process that does not take into consideration the actualedge content of the data.

The adaptive techniques used have been unsatisfactory in resolvingmoving edges. The resulting picture has artifacts such as the serratededges mentioned above, that detract from the advantages ofhigh-definition television (HDTV) or the generally sharper picturepossible in digital televisions.

Some method is needed that allows the display to portray moving edges inkeeping with the clarity and sharpness available in digital television,that also is usable in the higher speed environment of progressive scanwithout a huge increase in the processing requirements.

SUMMARY OF THE INVENTION

An interlaced-to-progressive-scan conversion process is disclosedherein. The process employs motion-compensated interpolation. Itperforms motion detection with the use of median-filtered inter-framedifference signals and uses a fast median filtering procedure. Theprocess is edge adaptive, using edge orientations from the originalinterlace picture. The process provides for motion detection that has alow susceptibility to noise, while also providing for an adaptiveinterpolation process which preserves the integrity of edges found inthe original interlaced picture. The process results in a picture withsharper moving edges and lower noise, overall resulting in a betterscene presentation for the viewer.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present invention and forfurther advantages thereof, reference is now made to the followingDetailed Description taken in conjunction with the accompanying Drawingsin which:

FIG. 1 shows a flow chart of a motion adaptiveinterlace-to-progressive-scan conversion.

FIG. 2 shows an exploded view of a flow chart of a motion adaptiveinterlace-to-progressive-scan conversion with a more detaileddescription of the process of generating motion and edge detectionsignals.

FIGS. 3a-b show graphical examples of a process to determine a motionsignal.

FIG. 4a-d show graphical representation of a fast median filteringprocess.

FIG. 5 shows a graphical example of edge detection.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Motion adaptive interlaced-to-progressive-scan conversion (IPC) is usedto eliminate artifacts attributed to the interlaced scanning format,where each field contains every other line and the two are interlacedinto a complete frame. IPC techniques use the weighted sum of a motionsignal, k, along with inter- and intra-field values.

One example of an IPC method is shown in FIG. 1. In FIG. 1, thediscussion is to merely point out what signals travel where and at whattimes. The functionality of the signals and the purposes behind thedelays will be discussed in FIG. 2.

The luminance signal, Y travels to Scan-line Video Processor (SVP) #1along path 10. The same signal is passed unchanged to SVP #2, along path12. Path 14 takes Y and delays it one field at `Field DL` 16. Thisdelayed field is passed directly to SVP #2 along path 18. Beforetravelling to SVP #1, however, the already-once-delayed signal goesthrough a one-line horizontal delay at `1H` 20, and another field delayat `Field DL` 22. The twice-delayed signal now travels to SVP #1 alongpath 24.

SVP #1 produces three signals. The first signal is k' at line 26. It isdelayed one field and reprocessed to aid in the production of the motionsignal k at line 28. The edge information exits SVP #1 on line 30 andenters SVP #2. SVP #2 has the following inputs: the original luminancesignal Y on line 12, a once-delayed Y signal on line 18, a motion signalk on line 28, an edge information signal on line 30; and two colordifference signals, R-Y and B-Y on lines 32 and 34, respectively. SVP #2has output signals Y_(p), for luminance proscan on line 36, and colordifference signals R-Y_(p) and B-Y_(p) on line 38.

It must be understood that, if the SVP is big enough and fast enough,the processes performed in SVP #2 could possibly be performed in adifferent section of SVP #1. However, for ease of discussion, it is moreunderstandable to use two SVPs. Additionally, the type of processor useddoes not have to be a SVP at all. It is possible that other processorscould be adapted to operate in substantially the same manner as neededto implement these algorithms.

Motion Signal Processing

Looking at the various signals and their function in producing theproscan output Y_(p), turn now to FIG. 2. FIG. 2 shows a more detailedschematic of the internal processes of each SVP. The area enclosed inthe upper dashed-line box is SVP #1 from FIG. 1. The original Y signalagain resides on line 10. As it enters SVP #1, lines 14 and 40 tap offof it. Line 14 delays the signal for one field at `Field DL` 16 becauseof the manner in which motion is detected. In order to determine themagnitude of motion, a comparison must be made between the current fieldand the twice-delayed field. This once-delayed luminance field is thenpassed to SVP #2 along path 18. Path 14 continues to `1H` delay 20 toprevent any odd/even line mismatch between the delayed fields. It delaysthe field one horizontal line. The field is then delayed again at `FieldDL` 22. This twice-delayed field passes along path 24. The current fieldentering the system on path 10 then subtracts the twice-delayed field onpath 24, giving a comparison value of the two fields.

A graphical representation of this motion signal determination is shownin FIGS. 3a and 3b. The field difference is found by comparing thecurrent field with the twice-delayed field at the difference sign inFIG. 3a. The interpolated pixel X is determined using the motion signalk, in conjunction with the spatial neighbor pixels of X, as well aspixel Z from the previous field, in FIG. 3b. This diagram bringstogether the concepts of edge information and the motion signal whichwill be discussed further in reference to FIG. 5.

Because the comparison value is a signed number, it has nine bits. Bytaking the absolute value of the value at `ABS` 42, this is reduced toan eight-bit number. The nonlinear function `NL` 44 then reduces theeight bits to four for passage into the median filter 45.

The median filtering process is shown in FIG. 4a. By median filteringthe motion signal, any point noise sources can be eliminated, thusadding reliability to the motion signal. To find the lowest noise targetdata, the median filter uses the values of neighboring data points tofind the target data as shown in FIG. 4a.

The median filtering technique used merely as a specific example of thisprocess represents a fast and efficient method of performing a 5-tapmedian calculation. Fast and efficient processes are necessary for manydigital-signal-processing (DSP) applications where execution time andprogram instruction space are at a premium. Real-time implementations,such as this process, place an even higher price on execution time andinstruction space.

The 5-tap median filter process used in this procedure requires a totalof 181 instructions, where a more conventional approach requiresapproximately 277 instructions out of a possible 910 instructions in thecurrent configuration of scanline video processors, such as SVP #1. Theuse of this fast median filter algorithm represents an approximate 35%savings in instruction space compared to the conventional algorithm.

The conventional approach to performing a 5-tap median filter involveseither of the following:

MED(a,b,c,d,e)=MAX[min(a,b,c), min(a,b,d), min(a,b,e), min(a,c,d),

min(a,c,e), min(a,d,e), min(b,c,d), min(b,c,e), min(b,d,e), min(c,d,e)]

or

MED(a,b,c,d,e)=MIN[max(a,b,c), max(a,b,d), max(a,b,e), max(a,c,d),

max(a,c,e), max(a,d,e), max(b,c,d), max(b,c,e), max(b,d,e), max(c,d,e)].

In general, for an L-element sequence, the conventional method involvestaking the minimum or maximum of the maximum or minimum of ##EQU1##subsequences. This factorial expression implies that as the length ofthe L-element sequence increases, the complexity increases in afactorial manner. Conversely, the complexity of the present fast medianfilter increases in a linear manner as the length of the L-elementsequence increases. Therefore, higher complexity median filterimplementations could be achieved using the instant median filterprocess, while keeping the execution time and instruction space at aminimum.

Variables V₀, V₁, V₂, V₃, and V₄ represent the data points surroundingand including the point being interpolated, as shown in FIG. 4b. Two ofthe given values are compared and the extreme of these is removed instep 46. This filtering process can process either the maximum valuesand use the lowest value for median determination, or it can process theminimum values and use the highest value for median determination. Thesought after result is to find the middle value of the five inputs.Rather than restrict the discussion, these maximum or minimum valueswill be referred to as `extreme` values. If this were the implementationwhere the maximum values are processed, step 46 functions as shown inFIG. 4c. If V₁ is greater than or equal to V₀, then S₀ is 0, as shown inFIG. 4d. This means that V₀ is smaller than V₁.

This process continues until at step 54, the set of extremes D₀ throughD₃ represent the four highest or lowest values. This set is furtherreduced to a set of the three highest or lowest values, C₀ through C₂,by step 56. In steps 58 and 60 the three highest or lowest values aresorted to find the opposite extreme of those three variables. Forexample if the values C₀ through C₂ are the largest three values, steps58 and 60 determine which is the minimum of the three. This then becomesthe median value.

The above example is for a 5-tap median filter. More or less taps can beused. At some point, the number of SVP instructions will rise to a pointthat the extra precision advantage is no longer greater than the numberof instructions required. That point must be determined by eachdesigner. However, at this point a 5-tap filter has been determined tobe the best compromise between instruction count and precision obtained.

Returning now to FIGS. 1 and 2, the output of the median filter on line26 is then sent in a feedback loop as signal k' as shown on the sameline in FIG. 1. Signal k' is the motion signal used as an input to thetemporal filter. The remaining processing done on motion signal k' isshown in more detail in FIG. 2. Dashed line 27 represents the processesdone on motion signal k' from line 26. This step temporally filters thesignal by using a series of field delay lines `FIELD DL` and horizontaldelay `1IH` in conjunction with the values determined from the medianfiltering process.

Dashed line 29 encompasses the spatial filtering performed after thetemporal filtering. The spatial filtering step comprises a vertical lowpass filter `VLPF` and a horizontal low pass filter `HLPF` both of whichserve to spread out the motion in the final motion signal, k, which isoutput from SVP #1 on line 28.

The temporal filter 27 and the spatial filter 29 have a tendency tospread the motion signal outward in a spatial manner. Therefore, anynoise or errors in that signal tend to propagate. The heretofore unknownadvantage of using the median filter before these filters is that themedian filter eliminates the noise and prevents its propagation to theneighboring pixels, resulting in a much clearer picture.

Another problem that was previously mentioned is the detection of edgesin conjunction with motion. While edge detection and motion signalprocessing are two separate topics and can be implemented separately,edge information really only takes effect in the presence of motion.Therefore the motion signal processing can influence the amount of edgeinformation used for interpolation of the missing lines.

Edge Detection

Referring back now to FIGS. 1 and 2, the discussion moves to the edgeinformation output on line 30 in FIG. 1. A more detailed diagram of theprocess is shown in FIG. 2. The edge detector 43 uses the inputs of line10, the original luminance signal, and the luminance signal that hasbeen delayed one horizontal line, along path 40. This process is showngraphically in FIG. 5.

Similar to FIG. 3b, the pixel X has neighbors A-F. The direction of theedge could be determined to be any combination of the above neighborsand the below neighbors, not including redundant edge directions. Forexample, AD, BE, and CF are all vertical edges and do not require morethan one designation of direction. Therefore the possible edgedirections are AE, AF, BE, CD and CE. Note that AE and BF are the sameedge, as are CE and BD. These designation of AF, etc., designate theabsolute value of the difference between the two variables. AF is theabsolute value of A-F. If the maximum of the 5 values AE, AF, BE, CD,andCE minus the minimum of these values is greater than a predeterminedthreshold value, then the edge direction is selected to be the minimumof the 5 values. Otherwise, the edge is determined to be BE, orvertical. One way to implement this is to assign each possible edgedirection a value that is passed to the second SVP, thereby informingSVP #2 which interpolation to use.

Returning to FIG. 2, this edge information is transmitted on path 30 toSVP #2. There the edge information on path 30 is combined with theoriginal luminance signal, a horizontally line-delayed luminance signalat the `PIXEL SELECT` step 70. Here the SVP performs a process where itselects one pixel from A, B, or C (see FIG. 3b), and one from D, E, orF. These two pixels will then be used to compute the line averagecomponent of the weighted-mean interpolation. The two signals areweighted equally at 1/2 and combined. This resulting signal is input tothe `MIX` step on line 76, where it is processed with a field-delayedluminance signal from line 18, and the motion signal, k, on line 28. Theresulting output on line 36 is the interpolated proscan output signal,Y_(p).

Additionally, the color difference signals R-Y and B-Y are output fromSVP #2 on lines 38 and 39, which are calculated using line average. Aswas previously mentioned, all of the above could possibly be performedin the same SVP, such as SVP #1. In that case, the edge information andmotion signal would be considered to be made available for furtherprocessing instead of transmitted to SVP #2.

The above process allows an interlaced signal to be converted toprogressive scan, or proscan, with sharper edges and motion. The objectsin motion in the scene have cleaner edges, giving a better picture tothe viewer. Additionally, these processes can be installed in thescan-line video processors already necessary to the IPC process sincethe overall process uses a minimum number of instructions that can beimplemented in the SVPs' unused portions. It is possible that all of theabove steps could be performed in different active areas of oneprocessor.

Thus, although there has been described to this point a particularembodiment for an interlace-to-progressive scan process, it is notintended that such specific references be considered as limitations uponthe scope of this invention except in-so-far as set forth in thefollowing claims.

What is claimed is:
 1. A system for improved processing of video data,including:a. a circuit for receiving said data; b. a processor withinsaid circuit operable to:i. detect motion and edge signals in said data;ii. filter said motion signal to reduce noise, wherein said filtering isperformed by a fast median filter; iii. spread said data through the useof temporal and spatial filters; iv. reduce serrations along movingedges through the use of an edge correlator for directionalinterpolation; and v. use said filtered motion signal and said edgesignals to produce a progressive-scan signal; and c. a display devicefor receiving and displaying said signal.
 2. A method of processingvideo data, comprising:a. receiving said data into a processor; b.determining a motion signal from said data; c. finding edge informationin said data; d. filtering said motion signal; e. passing said edgeinformation and said filtered motion signal to a video processor; and f.using said filtered motion signal and said edge information to produce aprogressive-scan signal for use on a video display device.
 3. The systemas in claim 1 wherein said fast median filter is a 5-tap median filter.4. The system as in claim 1 wherein said temporal filter uses saidmotion signal.
 5. The system as in claim 1 wherein said spatial filtercomprises a vertical low pass filter and a horizontal low pass filter.